#define _CRT_SECURE_NO_WARNINGS 1
//打印乘法口诀表
#include<stdio.h>

int main()
{
	int row = 0;//控制行数
	int col = 0;//控制列数
	for (row = 1; row <= 9; row++)
	{
		for (col = 1; col <= row; col++)
		{
			printf("%d x %d = %d   ", col, row, col * row);
		}
		printf("\n");
	}
}